<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<#import "spring.ftl" as spring />
<#import "/inspector-time-macros.ftl" as imacro />

<html>
<head>
	<title>Inspector Time: Online Home Inspection Scheduling and Management</title>
	<meta name="description" content="Your online resource for scheduling and managing your home inspections" />
    <meta name="keywords" content="Home Inspection, Inspection, Inspector, Home Inspector, Real Estate Agent, Realtor, Buyer, Home Buyer, Seller, Home Seller,  Real Estate, House Sale, Home Sale, Quote, Scheduling, Schedule, Book, Appraisal, Contract, Property, Mold Inspection, Termite Inspection, Radon" />
</head>

<link rel="stylesheet" type="text/css" href="<@spring.url "/css/homepage.css" />" />

<script>
 var searchTxt = "enter agent or inspector";
 window.onload=loadvalues;
 
 function loadvalues() {
 	document.getElementById("searchTermInput").value = searchTxt;
 }
</script>

<body>

<div id="containerShadow">
	<div id="container">

		<#if RequestParameters.message??>
			<div class="msg">${RequestParameters.message!}</div>
		</#if>
	
		<img src="${springMacroRequestContext.contextPath}/images/home/header.gif" id="logo" alt="Inspector Time"/>
		<img src="${springMacroRequestContext.contextPath}/images/testimonial.jpg" id="testimonial" alt="Testimonial" />
		<br style="clear: both" />
		
		<div id="pic">
		
			<img src="${springMacroRequestContext.contextPath}/images/home/blurb.gif" id="blurb" alt="Welcome to Inspector Time - Your online resource for connecting HOMEBUYERS and REAL ESTATE AGENTS to HOME INSPECTORS" />
			
			<div id="blurb"></div>
		
			<div id="linkboxLeft">
				<div class="linkboxContent" style="padding-left: 20px;">
					<h1>INSPECTORS</h1>
					
					<ul style="margin-bottom: 30px;">
						<li><a href="<@spring.url "/learnMore.html" />" class="linkSubtext">Create your availability</a></li>
						<li><a href="<@spring.url "/learnMore.html" />" class="linkSubtext">Organize schedules</a></li>
						<li><a href="<@spring.url "/learnMore.html" />" class="linkSubtext">Accessible 24/7</a></li>
						<li><a href="<@spring.url "/learnMore.html" />" class="linkSubtext">Brand your own IT page</a></li>
					</ul>
					
					<#if Session?? && Session.userName??>
						<div id="loggedIn">
							<h1>WELCOME ${Session.userName?upper_case}!</h1>
							<ul class="itLinks">
								<li><a href="<@spring.url "/inspector/inspections.html" />">INSPECTIONS</a></li>
								<li><a href="<@spring.url "/inspector/reports/main.html" />">REPORTS</a></li>
								<li><a href="<@spring.url "/inspector/settings.html" />">SETTINGS</a></li>
								<li><a href="<@spring.url "/logout.html" />">LOGOUT</a></li>
							</ul>
						</div>
					<#else>
					
						<h2>INSPECTOR LOG IN</h2>
		
						<form id="loginForm" style="margin-bottom: 15px" action="<@spring.url "/login.html" />" method="post">
							<input type="text" name="userName" />
							<h3>username</h3>
							<input type="password" name="password" />
							<h3>password</h3>
							<input type="image" src="${springMacroRequestContext.contextPath}/images/home/btn-submit.gif" style="width:54px; height:21px; margin-top: 10px;  border: 0px;" />
						</form>
						
						<div id="forgotPassword">
							<a href="<@spring.url "/forgotPassword.html" />">FORGOT PASSWORD?</a><br />
							<a href="<@spring.url "/forgotPassword.html" />" class="linkSubtext">click here</a>
						</div>
						
						<h1 style="margin-top: 25px; margin-bottom: 5px">NOT REGISTERED?</h1>
						<a href="<@spring.url "/register.html" />"><img src="${springMacroRequestContext.contextPath}/images/home/btn-signup.gif" style="width:87px;height:26px;" alt="Sign Up Now!" /></a>
					</#if>
					
				</div>
			</div>
			
			<div id="linkboxRightTop">
				<div class="linkboxContent" style="padding-left: 30px;">
					<h1>AGENTS/HOMEBUYERS</h1>
					
					<ul style="margin-bottom: 20px;">
						<li><a href="<@spring.url "/searchInspectors.html" />" class="linkSubtext">Find a nearby inspector</a></li>
						<li><a href="<@spring.url "/searchInspectors.html" />" class="linkSubtext">Choose a time</a></li>
						<li><a href="<@spring.url "/searchInspectors.html" />" class="linkSubtext">Schedule an appointment</a></li>
					</ul>
					
					<form method="post" name="searchForm" action="searchInspectors.html">
					<input type="text" id="searchTermInput" name="searchTerm" onfocus="if (this.value == searchTxt) {this.value=''}" onblur="if (this.value =='') {this.value = searchTxt}"/>
					
					<input type="image" src="${springMacroRequestContext.contextPath}/images/home/btn-find.gif" style="width:86px; height:25px; margin-top: 10px; border: 0px;" alt="Find Inspector!" />
					
					</form>
					
				</div>
			</div>
			
			<div id="linkboxRightBottom">
				<div class="linkboxContent" style="padding-left: 30px;">
					<h1>INSPECTOR TIME</h1>
					
					<ul class="itLinks">
						<li><a href="<@spring.url "/learnMore.html" />">LEARN MORE</a></li>
						<li><a href="<@spring.url "/learnMore.html" />">$5 PRICING MODEL</a></li>
						<li><a href="http://blog.inspectortime.com/">BLOG</a></li>
						<li><a href="<@spring.url "/support.html" />">SUPPORT</a></li>
					</ul>
				</div>
			</div> <!--  /linkboxRightBottom -->
		
		</div>  <!--  /pic -->
	</div> <!--  /container -->
</div> <!--  /containerShadow -->

<style>
		#invisible A:link {color:#82a2bb}
		#invisible A:visited {color:#82a2bb}
		#invisible A:active {color:#82a2bb}
		#invisible A:hover {color:#82a2bb}
</style>
<span id="invisible"><a href="/itadmin/login.html">admin</a></span>
</body>
</html>
